<%@ page contentType="text/html; charset=utf-8" language="java"  errorPage="" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>档案外借修改</title>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE6 {
	color: #000000;
	font-size: 12;
}
.STYLE10 {
	color: #000000;
	font-size: 12px;
}
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>
<script>
var  highlightcolor='#d5f4fe';
//此处clickcolor只能用win系统颜色代码才能成功,如果用#xxxxxx的代码就不行,还没搞清楚为什么:(
var  clickcolor='#51b2f6';
function  changeto(){
source=event.srcElement;
if  (source.tagName=="TR"||source.tagName=="TABLE")
return;
while(source.tagName!="TD")
source=source.parentElement;
source=source.parentElement;
cs  =  source.children;
//alert(cs.length);
if  (cs[1].style.backgroundColor!=highlightcolor&&source.id!="nc"&&cs[1].style.backgroundColor!=clickcolor)
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor=highlightcolor;
}
}

function  changeback(){
if  (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="nc")
return
if  (event.toElement!=source&&cs[1].style.backgroundColor!=clickcolor)
//source.style.backgroundColor=originalcolor
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor="";
}
}

function  clickto(){
source=event.srcElement;
if  (source.tagName=="TR"||source.tagName=="TABLE")
return;
while(source.tagName!="TD")
source=source.parentElement;
source=source.parentElement;
cs  =  source.children;
//alert(cs.length);
if  (cs[1].style.backgroundColor!=clickcolor&&source.id!="nc")
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor=clickcolor;
}
else
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor="";
}
}
</script>
<link href="/images/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="30%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="6%" height="19" valign="bottom"><div align="center"><img src="/images/tb.gif" width="14" height="14" /></div></td>
                      <td width="94%" valign="bottom"><span class="STYLE1"> 档案外借登记记录修改</span></td>
                    </tr>
                  </table></td>
                <td width="79%"><div align="left"><span class="STYLE1">
                    <input type="checkbox" name="checkbox11" id="checkbox11" />
                    高级选项</span></div></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td>
    <html:form action="/updateLendFile.do" method="post">
    <html:hidden property="action" />
    <html:hidden property="lendFile.id" />
    <table width="100%" border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td width="15%" height="25" align="right">借阅人</td>
          <td width="85%" height="25"><bean:write name="lendFileForm" property="lendFile.borrowname" /></td>
        </tr>
        
        <tr>
          <td height="25" align="right">文件题名</td>
          <td height="25"><bean:write name="lendFileForm" property="lendFile.title" /></td>
        </tr>
        <tr>
          <td height="25" align="right">存址号</td>
          <td height="25"><bean:write name="lendFileForm" property="lendFile.archivalcode"/>
          </td>
        </tr>
        <tr>
          <td height="25" align="right">文件编号</td>
          <td height="25"><bean:write name="lendFileForm" property="lendFile.fileno" /></td>
        </tr>
        
        <tr>
          <td height="25" align="right">借出经办人</td>
          <td height="25"><bean:write name="lendFileForm" property="lendFile.lendhandler" /></td>
        </tr>
        <tr>
          <td height="25" align="right">借出份数</td>
          <td height="25"><bean:write name="lendFileForm" property="lendFile.lendnum" /></td>
        </tr>
        
        <tr>
          <td height="25" align="right">文件流水号</td>
          <td height="25"><bean:write name="lendFileForm" property="lendFile.serialno" /></td>
        </tr>
        <tr>
          <td height="25" align="right">所属学校代码</td>
          <td height="25"><bean:write name="lendFileForm" property="lendFile.xxdm" /></td>
        </tr>
        <tr>
          <td height="25" align="right">借出时间</td>
          <td height="25"><bean:write name="lendFileForm" property="lendFile.lendtime" format="yyyy/MM/dd"/></td>
        </tr>
        <tr>
          <td height="25" align="right">应归还时间</td>
          <td height="25"><bean:write name="lendFileForm" property="lendFile.maturity" format="yyyy/MM/dd"/></td>
        </tr>
        <tr>
          <td height="25" align="right">期限</td>
          <td height="25"><html:text property="lendFile.lendperiod"/></td>
        </tr>
        <tr>
          <td height="25" align="right">利用效果</td>
          <td height="25"><html:text property="lendFile.effect" /></td>
        </tr>
        <tr>
          <td height="25" align="right">归还经办人</td>
          <td height="25"><html:text property="lendFile.returnhandler" /></td>
        </tr>
        <tr>
          <td height="25" align="right">归还份数</td>
          <td height="25"><html:text property="lendFile.returnnum" /></td>
        </tr>
        <tr>
          <td height="25" align="right">外借状态</td>
          <td height="25"><html:select property="lendFile.status">
          <html:option value="未归还">未归还</html:option>
          <html:option value="已归还">已归还</html:option>
          </html:select></td>
        </tr>
        <tr>
          <td height="25" align="right">备注</td>
          <td height="25"><html:textarea property="lendFile.remark" /></td>
        </tr>
        
        
        <tr>
          <td height="25" align="right">&nbsp;</td>
          <td height="25">&nbsp;<html:submit value="提   交"/>&nbsp;<input type= "button" name="Submit" value="返   回" onclick= "javascript:history.back(1)"/></td>
        </tr>
        <tr>
          <td height="25" align="right">&nbsp;</td>
          <td height="25">&nbsp;</td>
        </tr>
        <tr>
          <td height="25" align="right">&nbsp;</td>
          <td height="25">&nbsp;</td>
        </tr>
        <tr>
          <td height="25" align="right">&nbsp;</td>
          <td height="25">&nbsp;</td>
        </tr>
      </table>
      </html:form>
      </td>
  </tr>
  <tr>
    <td height="30">&nbsp;</td>
  </tr>
</table>
</body>
</html>
